/* @(#)GSManufactureCategoryBean.java    
 *
 * Project: BUS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen     2006-2-13    新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.hitrust.gs.service.GSBaseBean;

/**
 * 订单的基本信息
 */
public class GSOrderBean implements GSBaseBean {
	/**
	 * 订单编号
	 */
	private String gs_order_tempid;
	/**
	 * 申购单位
	 */
	private String gs_workcorp_id;
	/**
	 * 订单种类
	 */
	private String gs_order_category;
	/**
	 * 订单状态
	 */
	private String gs_order_status;
	/**
	 * 备注
	 */
	private String gs_notes;
	/**
	 * 录入人员帐号
	 */
	private String gs_recorder_id;
	/**
	 * 订单生成时间
	 */
	private String gs_order_create_date;
	/**
	 * 初审人员帐号
	 */
	private String gs_firstauditor_id;
	/**
	 * 订单初审意见
	 */
	private String gs_firstaudit_advices;
	/**
	 * 订单初审时间
	 */
	private String gs_firstaudit_date;
	/**
	 * 复审人员帐号
	 */
	private String gs_reviewer_id;
	/**
	 * 订单复审意见
	 */
	private String gs_review_advices;
	/**
	 * 订单复审时间
	 */
	private String gs_review_date;
	/**
	 * 提交人员帐号1
	 */
	private String gs_submiter_id1;
	/**
	 * 订单提交时间1
	 */
	private String gs_submit_date1;
	/**
	 * 核准人帐号
	 */
	private String gs_authorizer_id;
	/**
	 * 订单核准时间
	 */
	private String gs_authorize_date;
	/**
	 * 提交人员帐号2
	 */
	private String gs_submiter_id2;
	/**
	 * 订单提交时间2
	 */
	private String gs_submit_date2;
	/**
	 * 订单最后修正人帐号
	 */
	private String gs_lastmodifer_id;
	/**
	 * 订单最后修正内容
	 */
	
	private String gs_lastmodify_contents;
	/**
	 * 订单最后修正时间
	 */
	private String gs_lastmodify_date;
    /**
     * 订单总价
     */
	private int gs_order_sum;
	/**
     * 送货地址 
	 */
	private String gs_deliver_goods_addr;
    /**
     * 订货联系人
     */
	private String gs_order_contact_name;
    /**
     * 订货联系电话
     */
	private String gs_order_contact_phone;
    /**
     * 配送模式
     */
	private String gs_deliver_mode;
    /**
     * 结算模式
     */
	private String gs_balance_mode;
	
    

	public Object process(ResultSet aResultSet) throws SQLException {
		GSOrderBean tGSOrderBean = new GSOrderBean();
		tGSOrderBean.gs_authorize_date=aResultSet.getString("GS_AUTHORIZE_DATE")==null?"":aResultSet.getString("GS_AUTHORIZE_DATE").trim();
		tGSOrderBean.gs_authorizer_id=aResultSet.getString("GS_AUTHORIZER_ID")==null?"":aResultSet.getString("GS_AUTHORIZER_ID").trim();
		tGSOrderBean.gs_firstaudit_advices=aResultSet.getString("GS_FIRSTAUDIT_ADVICES")==null?"":aResultSet.getString("GS_FIRSTAUDIT_ADVICES").trim();
		tGSOrderBean.gs_firstaudit_date=aResultSet.getString("GS_FIRSTAUDIT_DATE")==null?"":aResultSet.getString("GS_FIRSTAUDIT_DATE").trim();
		tGSOrderBean.gs_firstauditor_id=aResultSet.getString("GS_FIRSTAUDITOR_ID")==null?"":aResultSet.getString("GS_FIRSTAUDITOR_ID").trim();
		tGSOrderBean.gs_lastmodifer_id=aResultSet.getString("GS_LASTMODIFER_ID")==null?"":aResultSet.getString("GS_LASTMODIFER_ID").trim();
		tGSOrderBean.gs_lastmodify_contents=aResultSet.getString("GS_LASTMODIFY_CONTENTS")==null?"":aResultSet.getString("GS_LASTMODIFY_CONTENTS").trim();
		tGSOrderBean.gs_lastmodify_date=aResultSet.getString("GS_LASTMODIFY_DATE")==null?"":aResultSet.getString("GS_LASTMODIFY_DATE").trim();
		tGSOrderBean.gs_notes=aResultSet.getString("GS_NOTES")==null?"":aResultSet.getString("GS_NOTES").trim();
		tGSOrderBean.gs_order_category=aResultSet.getString("GS_ORDER_CATEGORY").trim();
		tGSOrderBean.gs_order_create_date=aResultSet.getString("GS_ORDER_CREATE_DATE").trim();
		tGSOrderBean.gs_order_status=aResultSet.getString("GS_ORDER_STATUS").trim();
		tGSOrderBean.gs_order_tempid=aResultSet.getString("GS_ORDER_TEMPID").trim();
		tGSOrderBean.gs_recorder_id=aResultSet.getString("GS_RECORDER_ID").trim();
		tGSOrderBean.gs_review_advices=aResultSet.getString("GS_REVIEW_ADVICES")==null?"":aResultSet.getString("GS_REVIEW_ADVICES").trim();
		tGSOrderBean.gs_review_date=aResultSet.getString("GS_REVIEW_DATE")==null?"":aResultSet.getString("GS_REVIEW_DATE").trim();
		tGSOrderBean.gs_reviewer_id=aResultSet.getString("GS_REVIEWER_ID")==null?"":aResultSet.getString("GS_REVIEWER_ID").trim();
		tGSOrderBean.gs_submit_date1=aResultSet.getString("GS_SUBMIT_DATE1")==null?"":aResultSet.getString("GS_SUBMIT_DATE1").trim();
		tGSOrderBean.gs_submit_date2=aResultSet.getString("GS_SUBMIT_DATE2")==null?"":aResultSet.getString("GS_SUBMIT_DATE2").trim();
		tGSOrderBean.gs_submiter_id1=aResultSet.getString("GS_SUBMITER_ID1")==null?"":aResultSet.getString("GS_SUBMITER_ID1").trim();
		tGSOrderBean.gs_submiter_id2=aResultSet.getString("GS_SUBMITER_ID2")==null?"":aResultSet.getString("GS_SUBMITER_ID2").trim();
		tGSOrderBean.gs_workcorp_id=aResultSet.getString("GS_WORKCORP_ID").trim();
		tGSOrderBean.gs_order_sum=aResultSet.getInt("GS_ORDER_SUM");
		//add by simonyipeng 2006-3-12
		tGSOrderBean.gs_deliver_goods_addr = aResultSet.getString("GS_DELIVER_GOODS_ADDR");
		tGSOrderBean.gs_order_contact_name = aResultSet.getString("GS_ORDER_CONTACT_NAME");
		tGSOrderBean.gs_order_contact_phone = aResultSet.getString("GS_ORDER_CONTACT_PHONE");
		tGSOrderBean.gs_deliver_mode = aResultSet.getString("GS_DELIVER_MODE");
		tGSOrderBean.gs_balance_mode = aResultSet.getString("GS_BALANCE_MODE");
		

		return tGSOrderBean;
     }



    /**
     * @return 返回变量gs_authorize_date的值.
     */
    public String getGs_authorize_date() {
        return this.gs_authorize_date;
    }



    /**
     * @param aGs_authorize_date 设定变量gs_authorize_date的值.
     */
    public void setGs_authorize_date(String aGs_authorize_date) {
        this.gs_authorize_date = aGs_authorize_date;
    }



    /**
     * @return 返回变量gs_authorizer_id的值.
     */
    public String getGs_authorizer_id() {
        return this.gs_authorizer_id;
    }



    /**
     * @param aGs_authorizer_id 设定变量gs_authorizer_id的值.
     */
    public void setGs_authorizer_id(String aGs_authorizer_id) {
        this.gs_authorizer_id = aGs_authorizer_id;
    }



    /**
     * @return 返回变量gs_balance_mode的值.
     */
    public String getGs_balance_mode() {
        return this.gs_balance_mode;
    }



    /**
     * @param aGs_balance_mode 设定变量gs_balance_mode的值.
     */
    public void setGs_balance_mode(String aGs_balance_mode) {
        this.gs_balance_mode = aGs_balance_mode;
    }



    /**
     * @return 返回变量gs_deliver_goods_addr的值.
     */
    public String getGs_deliver_goods_addr() {
        return this.gs_deliver_goods_addr;
    }



    /**
     * @param aGs_deliver_goods_addr 设定变量gs_deliver_goods_addr的值.
     */
    public void setGs_deliver_goods_addr(String aGs_deliver_goods_addr) {
        this.gs_deliver_goods_addr = aGs_deliver_goods_addr;
    }



    /**
     * @return 返回变量gs_deliver_mode的值.
     */
    public String getGs_deliver_mode() {
        return this.gs_deliver_mode;
    }



    /**
     * @param aGs_deliver_mode 设定变量gs_deliver_mode的值.
     */
    public void setGs_deliver_mode(String aGs_deliver_mode) {
        this.gs_deliver_mode = aGs_deliver_mode;
    }



    /**
     * @return 返回变量gs_firstaudit_advices的值.
     */
    public String getGs_firstaudit_advices() {
        return this.gs_firstaudit_advices;
    }



    /**
     * @param aGs_firstaudit_advices 设定变量gs_firstaudit_advices的值.
     */
    public void setGs_firstaudit_advices(String aGs_firstaudit_advices) {
        this.gs_firstaudit_advices = aGs_firstaudit_advices;
    }



    /**
     * @return 返回变量gs_firstaudit_date的值.
     */
    public String getGs_firstaudit_date() {
        return this.gs_firstaudit_date;
    }



    /**
     * @param aGs_firstaudit_date 设定变量gs_firstaudit_date的值.
     */
    public void setGs_firstaudit_date(String aGs_firstaudit_date) {
        this.gs_firstaudit_date = aGs_firstaudit_date;
    }



    /**
     * @return 返回变量gs_firstauditor_id的值.
     */
    public String getGs_firstauditor_id() {
        return this.gs_firstauditor_id;
    }



    /**
     * @param aGs_firstauditor_id 设定变量gs_firstauditor_id的值.
     */
    public void setGs_firstauditor_id(String aGs_firstauditor_id) {
        this.gs_firstauditor_id = aGs_firstauditor_id;
    }



    /**
     * @return 返回变量gs_lastmodifer_id的值.
     */
    public String getGs_lastmodifer_id() {
        return this.gs_lastmodifer_id;
    }



    /**
     * @param aGs_lastmodifer_id 设定变量gs_lastmodifer_id的值.
     */
    public void setGs_lastmodifer_id(String aGs_lastmodifer_id) {
        this.gs_lastmodifer_id = aGs_lastmodifer_id;
    }



    /**
     * @return 返回变量gs_lastmodify_contents的值.
     */
    public String getGs_lastmodify_contents() {
        return this.gs_lastmodify_contents;
    }



    /**
     * @param aGs_lastmodify_contents 设定变量gs_lastmodify_contents的值.
     */
    public void setGs_lastmodify_contents(String aGs_lastmodify_contents) {
        this.gs_lastmodify_contents = aGs_lastmodify_contents;
    }



    /**
     * @return 返回变量gs_lastmodify_date的值.
     */
    public String getGs_lastmodify_date() {
        return this.gs_lastmodify_date;
    }



    /**
     * @param aGs_lastmodify_date 设定变量gs_lastmodify_date的值.
     */
    public void setGs_lastmodify_date(String aGs_lastmodify_date) {
        this.gs_lastmodify_date = aGs_lastmodify_date;
    }



    /**
     * @return 返回变量gs_notes的值.
     */
    public String getGs_notes() {
        return this.gs_notes;
    }



    /**
     * @param aGs_notes 设定变量gs_notes的值.
     */
    public void setGs_notes(String aGs_notes) {
        this.gs_notes = aGs_notes;
    }



    /**
     * @return 返回变量gs_order_category的值.
     */
    public String getGs_order_category() {
        return this.gs_order_category;
    }



    /**
     * @param aGs_order_category 设定变量gs_order_category的值.
     */
    public void setGs_order_category(String aGs_order_category) {
        this.gs_order_category = aGs_order_category;
    }



    /**
     * @return 返回变量gs_order_contact_name的值.
     */
    public String getGs_order_contact_name() {
        return this.gs_order_contact_name;
    }



    /**
     * @param aGs_order_contact_name 设定变量gs_order_contact_name的值.
     */
    public void setGs_order_contact_name(String aGs_order_contact_name) {
        this.gs_order_contact_name = aGs_order_contact_name;
    }



    /**
     * @return 返回变量gs_order_contact_phone的值.
     */
    public String getGs_order_contact_phone() {
        return this.gs_order_contact_phone;
    }



    /**
     * @param aGs_order_contact_phone 设定变量gs_order_contact_phone的值.
     */
    public void setGs_order_contact_phone(String aGs_order_contact_phone) {
        this.gs_order_contact_phone = aGs_order_contact_phone;
    }



    /**
     * @return 返回变量gs_order_create_date的值.
     */
    public String getGs_order_create_date() {
        return this.gs_order_create_date;
    }



    /**
     * @param aGs_order_create_date 设定变量gs_order_create_date的值.
     */
    public void setGs_order_create_date(String aGs_order_create_date) {
        this.gs_order_create_date = aGs_order_create_date;
    }



    /**
     * @return 返回变量gs_order_status的值.
     */
    public String getGs_order_status() {
        return this.gs_order_status;
    }



    /**
     * @param aGs_order_status 设定变量gs_order_status的值.
     */
    public void setGs_order_status(String aGs_order_status) {
        this.gs_order_status = aGs_order_status;
    }



    /**
     * @return 返回变量gs_order_sum的值.
     */
    public int getGs_order_sum() {
        return this.gs_order_sum;
    }



    /**
     * @param aGs_order_sum 设定变量gs_order_sum的值.
     */
    public void setGs_order_sum(int aGs_order_sum) {
        this.gs_order_sum = aGs_order_sum;
    }



    /**
     * @return 返回变量gs_order_tempid的值.
     */
    public String getGs_order_tempid() {
        return this.gs_order_tempid;
    }



    /**
     * @param aGs_order_tempid 设定变量gs_order_tempid的值.
     */
    public void setGs_order_tempid(String aGs_order_tempid) {
        this.gs_order_tempid = aGs_order_tempid;
    }



    /**
     * @return 返回变量gs_recorder_id的值.
     */
    public String getGs_recorder_id() {
        return this.gs_recorder_id;
    }



    /**
     * @param aGs_recorder_id 设定变量gs_recorder_id的值.
     */
    public void setGs_recorder_id(String aGs_recorder_id) {
        this.gs_recorder_id = aGs_recorder_id;
    }



    /**
     * @return 返回变量gs_review_advices的值.
     */
    public String getGs_review_advices() {
        return this.gs_review_advices;
    }



    /**
     * @param aGs_review_advices 设定变量gs_review_advices的值.
     */
    public void setGs_review_advices(String aGs_review_advices) {
        this.gs_review_advices = aGs_review_advices;
    }



    /**
     * @return 返回变量gs_review_date的值.
     */
    public String getGs_review_date() {
        return this.gs_review_date;
    }



    /**
     * @param aGs_review_date 设定变量gs_review_date的值.
     */
    public void setGs_review_date(String aGs_review_date) {
        this.gs_review_date = aGs_review_date;
    }



    /**
     * @return 返回变量gs_reviewer_id的值.
     */
    public String getGs_reviewer_id() {
        return this.gs_reviewer_id;
    }



    /**
     * @param aGs_reviewer_id 设定变量gs_reviewer_id的值.
     */
    public void setGs_reviewer_id(String aGs_reviewer_id) {
        this.gs_reviewer_id = aGs_reviewer_id;
    }



    /**
     * @return 返回变量gs_submit_date1的值.
     */
    public String getGs_submit_date1() {
        return this.gs_submit_date1;
    }



    /**
     * @param aGs_submit_date1 设定变量gs_submit_date1的值.
     */
    public void setGs_submit_date1(String aGs_submit_date1) {
        this.gs_submit_date1 = aGs_submit_date1;
    }



    /**
     * @return 返回变量gs_submit_date2的值.
     */
    public String getGs_submit_date2() {
        return this.gs_submit_date2;
    }



    /**
     * @param aGs_submit_date2 设定变量gs_submit_date2的值.
     */
    public void setGs_submit_date2(String aGs_submit_date2) {
        this.gs_submit_date2 = aGs_submit_date2;
    }



    /**
     * @return 返回变量gs_submiter_id1的值.
     */
    public String getGs_submiter_id1() {
        return this.gs_submiter_id1;
    }



    /**
     * @param aGs_submiter_id1 设定变量gs_submiter_id1的值.
     */
    public void setGs_submiter_id1(String aGs_submiter_id1) {
        this.gs_submiter_id1 = aGs_submiter_id1;
    }



    /**
     * @return 返回变量gs_submiter_id2的值.
     */
    public String getGs_submiter_id2() {
        return this.gs_submiter_id2;
    }



    /**
     * @param aGs_submiter_id2 设定变量gs_submiter_id2的值.
     */
    public void setGs_submiter_id2(String aGs_submiter_id2) {
        this.gs_submiter_id2 = aGs_submiter_id2;
    }



    /**
     * @return 返回变量gs_workcorp_id的值.
     */
    public String getGs_workcorp_id() {
        return this.gs_workcorp_id;
    }



    /**
     * @param aGs_workcorp_id 设定变量gs_workcorp_id的值.
     */
    public void setGs_workcorp_id(String aGs_workcorp_id) {
        this.gs_workcorp_id = aGs_workcorp_id;
    }

}